﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="QLT.aspx.cs" Inherits="QLBV.QLT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="server" >
    <div> 
       <asp:Label ID="Label1" runat="server" BackColor="White" Font-Size="X-Large" ForeColor="#3333FF" Text="Quản lý thuốc"></asp:Label>
        <asp:GridView ID="gvQLT" runat="server" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" AutoGenerateSelectButton="True" OnSelectedIndexChanged="gvQLT_SelectedIndexChanged" Width="100%" AllowPaging="True" ForeColor="Black" OnPageIndexChanging="gvQLT_PageIndexChanging" PageSize="5" HorizontalAlign="Left" GridLines="Vertical">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <EmptyDataRowStyle HorizontalAlign="Left" />
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
    </div>
    <div><asp:Label ID="lbMsg" runat="server" Font-Size="Medium" ForeColor="Red"></asp:Label></div>
    <div>
        <table>
            <tr>
                <td><asp:Label ID="lbMT" runat="server" Text="Mã thuốc"></asp:Label></td>
                <td><asp:TextBox ID="txtMT" runat="server" Enabled="False" Width="33px"></asp:TextBox></td>
                <td> <asp:Label ID="Label5" runat="server" Text="Mô tả"></asp:Label></td>
                <td> <asp:TextBox ID="txtMoTa" runat="server" Height="36px" OnTextChanged="TextBox4_TextChanged" Width="227px"></asp:TextBox></td>
            </tr>
            <tr>
                <td>  <asp:Label ID="lbTT" runat="server" Text="Tên thuốc"></asp:Label></td>
                <td><asp:TextBox ID="txtTT" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td><asp:Label ID="lbDV" runat="server" Text="Đơn vị"></asp:Label></td>
                <td><asp:TextBox ID="txtDV" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td><asp:Label ID="lbGT" runat="server" Text="Giá tiền"></asp:Label></td> 
                <td><asp:TextBox ID="txtGT" runat="server"></asp:TextBox></td>  
            </tr>
            <tr>
               
                <td><asp:Button ID="btTT" runat="server" Height="30px" onClick="btTT_Click" Text="Thêm thuốc" /></td>
                <td><asp:Button ID="btUpdate" runat="server" Height="30px" Text="Cập nhật thuốc" OnClick="btUpdate_Click" /></td>
                <td><asp:Button ID="btDelete" runat="server" Height="30px" Text="Xóa thuốc" OnClick="btDelete_Click" /></td>
                <td> <asp:Button ID="btReset" runat="server" Height="30px" OnClick="btReset_Click" Text="Làm mới" /></td>
            </tr>
       </table>    
    </div>
    <br />
    <br />
    <br />
    <br />    
    <br />
    <br />
    <br />
    <br />    
</asp:Content>
